var express = require("express");
var router = express.Router();

var { getTests, getOneTests,getOnTest } = require("../controllers/testsControllers");

// 获取考试类型
router.post("/getTests", getTests);
//获取对应考试类型的数据
router.post("/getOneTests", getOneTests);
router.post("/getOnTest", getOnTest);

module.exports = router;
